Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add H5 GenomicFeatures support for more flexible target datatypes #200

Merged
merged 67 commits into from
Dec 16, 2024

Conversation

kathyxchen
Copy link
Collaborator

This PR adds support for a new target type. Previously Selene only supports sampling of binary targets, but GenomicFeaturesH5 is a class supporting the querying of genomic coordinate rows in a tabix-indexed BED file and an HDF5 matrix of corresponding labels for training. Changes in other files are used to support this new functionality, for example compression/decompression of sequence one-hot encoding only as opposed to both sequences & targets which was the default implementation, support of Spearman's and Pearson's correlation computation in PerformanceMetrics, and the like.

kathyxchen added 29 commits May 1, 2024 15:18
…an be generalized from the methylation specific code
@kathyxchen kathyxchen merged commit 9f8c441 into FunctionLab:master Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant